package com.lap.watchdog.starter.core;

public interface Repeat {

  boolean isDuplicate(String key, long period);

  void delKey(String key);

  default String getCacheKey(String key) {
    return "Repeat:" + key;
  }
}
